package com.app.ytong.home;

import android.os.Bundle;

import com.app.ytong.basis.BasisActivity;


/**
 * tab中activity基础类
 */

public class HomeBaseActivity extends BasisActivity {

    HomeTabActivity homeTabActivity;

    @Override
    public void initData(Bundle savedInstanceState) {
        super.initData(savedInstanceState);
        homeTabActivity = (HomeTabActivity) getParent();
    }

    @Override
    public void setContentView(int layoutResID) {
        super.setContentView(layoutResID);
    }



    @Override
    public void onBackPressed() {
//        super.onBackPressed();
//        homeTabActivity.onBackPressed();
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    //    @Override
//    public boolean onKeyDown(int keyCode, KeyEvent event) {
//        return super.onKeyDown(keyCode, event);
//    }

    public void onDoubleClick(){

    }
}
